﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TheVoiceOfSnake.Enums;

namespace TheVoiceOfSnake.Models
{
    public class SnakePart
    {
        public int X { get; set; } 
        public int Y { get; set; }
        public FieldState State { get; set; }

        public SnakePart()
        {
            X = 0;
            Y = 0;
            State = FieldState.SnakeHeadUp;
        }

        public SnakePart(int x, int y, FieldState state)
        {
            X = x;
            Y = y;
            State = state;
        }
    }
}
